import React, { Component } from 'react'
import { Link } from 'react-router-dom'

export default class Category extends Component {
  render() {
    return (
      <div>
          <h2> 分类页 </h2>
          <Link to={{ pathname: "/list/1", search: "?a=1&b=1" }}>衣服</Link>
          <Link to={{ pathname: "/list/2", search: "?a=2&b=2" }}>科技</Link>
          <Link to={{ pathname: "/list/3", search: "?a=3&b=3" }}>食品</Link>
      </div>
    )
  }
}
